package com.jmb.api.common.enumPro;

import lombok.Getter;

@Getter
public enum RelyType {
    CASE_START("执行用例", "开始执行"),
    CASE_END("执行用例", "执行完成"),
    RELY_START("接口依赖", "开始执行"),
    RELY_END("接口依赖", "执行完成"),
    INVOKE("反射方法", "反射方法"),
    PRE_CASE_START("前置用例", "开始执行"),
    PRE_CASE_END("前置用例", "执行完成"),
    INTERFACE_JSON("接口依赖", "Json"),
    INTERFACE_HTML("接口依赖", "Html"),
    INTERFACE_HEADER("接口依赖", "Header"),
    SQL_SELECT("SQL依赖", "查询语句"),
    SQL_DELETE("SQL依赖", "删除语句"),
    SQL_INSERT("SQL依赖", "新增语句"),
    SQL_UPDATE("SQL依赖", "修改语句"),
    SQL_SCRIPT("SQL依赖", "脚本处理"),
    CONST("固定字符", "固定字符"),
    READ_PROCESSOR("使用缓存", "使用缓存"),
    WRITE_PROCESSOR_REQUEST_HEADER("参数缓存", "Header"),
    WRITE_PROCESSOR_REQUEST_PARAMS("参数缓存", "Params"),
    WRITE_PROCESSOR_REQUEST_DATA("参数缓存", "Data"),
    WRITE_PROCESSOR_REQUEST_JSON("参数缓存", "Json"),
    WRITE_PROCESSOR_RESPONSE_JSON("响应缓存", "Json"),
    WRITE_PROCESSOR_RESPONSE_HTML("响应缓存", "Html"),
    WRITE_PROCESSOR_RESPONSE_HEADER("响应缓存", "Header");

    private final String typeStr;
    private final String desc;

    RelyType(String typeStr, String desc) {
        this.typeStr = typeStr;
        this.desc = desc;
    }


}
